<!DOCTYPE html>
<html lang="en">

<head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <title>学生管理系统</title>
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="css/sb-admin.css" rel="stylesheet">
    <link href="css/students.css" rel="stylesheet">
    <link href="font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
    <link rel="stylesheet" href="./layer/theme/default/layerui.css">
    <link href="js/webuploader/webuploader.css" rel="stylesheet">
    <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
        <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    
    <script src="js/jquery.js"></script>
    <script src="js/templateie/es5-shim.min.js"></script>
    <script src="js/templateie/es5-sham.min.js"></script>
    <script src="js/templateie/json3.min.js"></script>
    <script src="js/template-web.js"></script>
    <script src="js/webuploader/webuploader.js"></script>

</head>

<body>

    <div id="wrapper">
        <div id="page-wrapper">
            <div class="row" id="teacher">
                <script type="text/html" id="teacherTpl">
                <div class="col-lg-12">
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            <h3 class="panel-title">老师列表</h3>
                        </div>
                        <button type="button" class="btn btn-lg btn-success add_list add_cur" data_id="" data_type="2">添加</button>
                        <div class="panel-body">
                            {{each res.data as item index}}
                            <div class="col-lg-3 col-md-6 teacher_box">
                                <div class="icon_box">
                                    <i class="fa fa-pencil-square" aria-hidden="true" data_type="1"  data_id="{{item.id}}"></i>
                                    <!-- <i class="fa fa-plus-square" aria-hidden="true"  data_type="2" data_id="{{item.id}}"></i> -->
                                    <i class="fa fa-minus-square" aria-hidden="true" data_id="{{item.id}}"></i>
                                </div>
                                <img class="img_teacher" src="{{item.img_url}}" alt="">
                                <span class="txt_span">{{item.name}}</span>
                            </div>
                            {{/each}}
                        </div>
                    </div>
                    
                </div>
                </script>
            </div>
        </div>
    </div>


    

    <script src="js/bootstrap.min.js"></script>
    <script src="js/header.js"></script>
    <script src="js/commit.js"></script>
    <script src="js/teacherlist.js"></script>
    <script src="./layer/layer.js"></script>
</body>

</html>
